package com.os.sys.pojo;

import java.io.Serializable;

public class RoleMenu  implements Serializable{
	private static final long serialVersionUID = 1L; 
	private int id; 
	private int menu_id;
	private int role_id;
	private int roletype_id;
	private String oper;
	
	public String getOper() {
		return oper;
	}

	public void setOper(String oper) {
		this.oper = oper;
	}

	public int getRole_id() {
		return role_id;
	}

	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}

	
	public int getMenu_id() {
		return menu_id;
	}

	public void setMenu_id(int menu_id) {
		this.menu_id = menu_id;
	}

	public String getPrintStr(){
		String Str = "";
		Str = "[(id,"+id+"),"+ 
		             "(menu_id,"+menu_id+"),"+ 
		             "(role_id,"+role_id+"),"+ 
		             		"]";
		return Str;
	}
    
	public void printMe(){
		System.out.print(this.getPrintStr() );
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getRoletype_id() {
		return roletype_id;
	}

	public void setRoletype_id(int roletype_id) {
		this.roletype_id = roletype_id;
	}

	@Override
	public String toString() {
		return "RoleMenu{" +
				"id=" + id +
				", menu_id=" + menu_id +
				", role_id=" + role_id +
				", roletype_id=" + roletype_id +
				", oper='" + oper + '\'' +
				'}';
	}
}
